package servlet;
import javax.servlet.*;
import java.io.IOException;
import java.io.PrintWriter;

public class B implements Servlet {

    public void init(ServletConfig config) throws ServletException {
        System.out.println("A init");
    }

    public void service(ServletRequest request, ServletResponse response)
            throws ServletException, IOException {
       throw new IOException();
    }

    public void destroy() {
        System.out.println("destroy");
    }

    public String getServletInfo() {
        return null;
    }
    public ServletConfig getServletConfig() {
        return null;
    }

}
